package com.tianma.demo.service;

public interface OrderService {
    /**
     * 处理购买业务
     * @param userId
     * @param productId
     * @param quantity
     * @return
     */
    boolean insertOrder(Long userId, Long productId, int quantity);
}
